<template>
  <div class="breadcrumb">
    <el-breadcrumb separator-class="el-icon-arrow-right">
      <el-breadcrumb-item :to="{ path: '/' }">首页</el-breadcrumb-item>
      <el-breadcrumb-item v-for="item in breadcrumb" :key="item.len">{{item}}</el-breadcrumb-item>
    </el-breadcrumb>
  </div>
</template>
           
<script>
export default {
  name: "breadcrumb",
  props: ["breadcrumb"]
};
</script>
<style scoped>
</style>